package com.erb.entity;

import java.sql.Timestamp;

/**
 * 广告
 */
public class Advertisement {

	private long id;
	private String title; //标题
	private String imgUrl; //图片
	private long sort; //排序
	private String targetUrl;//图片跳转url
	private Boolean isShow;//是否展示
	private Timestamp endTime;//到期时间


	@Override
	public String toString() {
		return "Advertisement{" +
				"id=" + id +
				", title='" + title + '\'' +
				", imgUrl='" + imgUrl + '\'' +
				", sort=" + sort +
				", targetUrl='" + targetUrl + '\'' +
				", isShow=" + isShow +
				", endTime=" + endTime +
				'}';
	}

	public Boolean getIsShow() {
		return isShow;
	}

	public void setIsShow(Boolean isShow) {
		this.isShow = isShow;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public long getSort() {
		return sort;
	}

	public void setSort(long sort) {
		this.sort = sort;
	}

	public String getTargetUrl() {
		return targetUrl;
	}

	public void setTargetUrl(String targetUrl) {
		this.targetUrl = targetUrl;
	}
}
